<?php
/**
 * 框架核心文件
 * User: wang
 * Date: 16-12-21
 * Time: 下午10:19
 */
defined('FRAME_PATH') or define('FRAME_PATH',__DIR__.'/');
defined('APP_PATH') or define('APP_PATH',dirname($_SERVER['SCRIPT_FILENAME']).'/');
defined('APP_DEBUG') or define('APP_DEBUG',false);
defined('CONFIG_PATH') or define('CONFIG_PATH',APP_PATH.'config/');
defined('RUNTIME_PATH') or define('RUNTIME_PATH',APP_PATH.'runtime/');

//包含配置文件
// require_once APP_PATH.'config/config.php';
require_once FRAME_PATH.'common/functions.php';
//包含核心框架文件
require_once FRAME_PATH.'Core.php';

//实例化核心类
$fast=new Core();

$fast->run();